//
//  BaseViewController.h
//  WXD头标签
//
//  Created by mac on 17/7/2.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TopBarView.h"
#import "ViewManager.h"
#import "DSToast.h"
#import "NSDictionary+ObjectExt.h"
#import "SizeHeader.h"
#import <BmobSDK/Bmob.h>

@interface BaseViewController : UIViewController<TopBarViewDelegate>
{
    @private
    TopBarView *topview;
}

-(void)setToptittle:(NSString *)Tittle;
-(void)setTopTittleColor:(UIColor *)color;
-(void)setTopBgColor:(UIColor *)color;
-(void)setBackBtnHide:(BOOL)hide;
-(void)setBackBtnImage:(UIImage *)image;
-(void)setBackBtnTittle:(NSString *)tittle;
-(void)setTopLineHide:(BOOL)hide;
-(void)setTopViewHide:(BOOL)hide;
-(void)setTopViewHeight:(NSInteger)height;

-(void)alert:(NSString *)title msg:(NSString *)msg;

-(void)makeLoading;
-(void)removeLoading;
@end
